package com.naiterui.ehp.bs.b2c.product.vo;

import java.io.Serializable;
import java.util.List;

import lombok.Builder;
import lombok.Data;

import io.swagger.annotations.ApiModelProperty;

/**
 * <pre>
 * 分类VO
 * </pre>
 *
 * @author fangguanhong
 * @date 2019/5/18 上午10:59
 * @since 1.0.0
 */
@Data
@Builder
public class CategoryVO implements Serializable {
    private static final long serialVersionUID = 2821431711419733580L;

    /**
     * id
     */
    @ApiModelProperty(value = "id")
    private Long id;
    /**
     * 父ID
     */
    @ApiModelProperty(value = "父ID")
    private Long parentId;
    /**
     * 名称
     */
    @ApiModelProperty(value = "名称")
    private String name;
    /**
     * 描述
     */
    @ApiModelProperty(value = "描述")
    private String description;

    /**
     * icon图标
     */
    @ApiModelProperty(value = "icon图标")
    private String icon;
    /**
     * 子分类列表
     */
    @ApiModelProperty(value = "子分类列表")
    private List<CategoryVO> childs;

}
